package com.mapforge.listener;

import javax.swing.event.ChangeEvent;
/**
 * Used to track the progress of some action through a ChangeListener.
 * @author Will Morrison
 *
 */
public class LoadChangeEvent extends ChangeEvent {
	/**
	 * Default serial version ID, here to remove warnings.
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * A message describing what change has occurred.
	 */
	public String details;
	
	/**
	 * The new amount of progress which has advanced
	 */
	public int progress;
	
	public LoadChangeEvent(Object src, String details, int progress){
		super(src);
		this.progress = progress;
		this.details = details;
	}
}
